package com.xzst.jacksonxml.model.result;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * @Author:liukexin
 * @DATE:2019-06-24 17:32
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JacksonXmlRootElement(localName = "CommonlyQueryResponse")
public class CommonlyQueryResponse implements Serializable {

    private static final long serialVersionUID = -5886568626989567267L;

    /**
     * 运营商
     */
    @JacksonXmlProperty(localName = "PrivoderCode")
    private String PrivoderCode;

    /**
     * 业务标识
     */
    @JacksonXmlProperty(localName = "ServeIdentifier")
    private String ServeIdentifier;

    /**
     * 操作结果
     */
    @JacksonXmlProperty(localName = "OperateResult")
    private String operateResult;

    /**
     * 一包中结果集条数
     */
    @JacksonXmlProperty(localName = "ResultCount")
    private String resultCount;

    @JacksonXmlElementWrapper(localName = "CommonQueryResultList")
    @JacksonXmlProperty(localName = "CommonQueryResultInfo")
    private List<CommonQueryResultInfo> commonQueryResultList;

}
